<%--
  Created by IntelliJ IDEA.
  User: acer
  Date: 2024/9/19
  Time: 16:32
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>显示时间 | response</title>
</head>
<body>
<h3>现在的时间是:</h3>>
<hr>
<%=new java.util.Date()%>
<%
    response.setHeader("refresh","1");//对属性refresh赋值,页面每一秒刷新一次
%>
</hr>
</body>
</html>
